package com.topi.integration.connectorapi.transformer;

import com.sforce.ws.bind.XmlObject;

public class XmlObjectHelper {

	
	public static String getStringField (XmlObject data, String fieldName) {
		if (data == null) return "";	
		Object value = data.getField(fieldName);
		if ( value == null ) return "";
		return value.toString();
	}
	
}
